<?php
class Macys_Form_V2Product extends Zend_Form {
	
	public function init() {
		
		$this->setOptions(array(
			'elements' => array(
				'reviewPageNumber' => array(
					'type' => 'text',
					'options' => array(
						'label' => 'Review Page Number',
					)
				),
				'reviewPageLimit' => array(
					'type' => 'text',
					'options' => array(
						'label' => 'review Page Limit',
					)
				),
				'upc' => array(
					'type' => 'text',
					'options' => array(
						'label' => 'Universal Product Code',
					)
				),
				'storeid' => array(
					'type' => 'text',
					'options' => array(
						'label' => 'Store Id',
					)
				),
				'prodid' => array(
					'type' => 'text',
					'options' => array(
						'label' => 'Product Id',
					)
				),
				
				'submit' => array(
					'type' => 'submit',
					'options' => array(
						'label' => 'Apply'
					)
				)
			),
			
		));

		$this->addDisplayGroups(array(
		'left' => array(
				//'options'  => array('description' => 'Display Ops'),
				'elements' => array( 'upc'),
			),
			'left2' => array(
				//'options'  => array('description' => 'Display tions'),
				'elements' => array( 'prodid'),
			),
			'middle' => array(
				//'options'  => array('description' => 'Disy Options'),
				'elements' => array( 'storeid'),
			),	
		
			'right' => array(
				//'options'  => array('description' => 'Review Page'),
				'elements' => array('reviewPageNumber'),
			),
			'right2' => array(
				//'options'  => array('description' => 'Display Options'),
				'elements' => array( 'reviewPageLimit'),
			),
			
			'bottom' => array(
				'elements' => array('submit'),
			)
		));
		$this->setDisplayGroupDecorators(array('Description', 'FormElements', 'Fieldset'));
		
	}
	
}